import state from './state.js'
import actions from './actions.js'
import mutations from './mutations.js'
import {createStore} from "vuex";

const store = createStore({
    state, //状态管理
    mutations, // 更改state数据，并返回最新的state
    actions,// dispatch执行的方法列表
    modules: { }
})

export default store
